import Vue from 'vue'
import axios from "axios";
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import 'babel-polyfill'
import '@Form/styles/index.scss'
import '@Form/iconfont/iconfont.css'
import '@Form/utils/directive'
import '@Form/icons'
import '@Form/utils/debug-console'
import {loadExtension} from '@Form/extension/extension-loader'
loadExtension()

Vue.use(ElementUI, { size: 'small' })

if (typeof window !== 'undefined') {
  window.axios = axios
}

Vue.config.productionTip = false

new Vue({
  el: "#app",
  render: h => h(App),
})
